package org.boge.sharpdoc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping("")
    public String indexPage() {
        return "redirect:/customer/index";
    }

    @GetMapping("admin")
    public String adminIndex() {
        return "admin/index";
    }
}